package com.ruoyi.gybj.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 点位信息对象 gybj_point
 * 
 * @author ruoyi
 * @date 2025-11-19
 */
public class Point extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 点位号 */
    @Excel(name = "点位号")
    private String pointCode;

    /** 点位描述 */
    @Excel(name = "点位描述")
    private String pointDesc;

    /** 设备类型：储罐、装卸台、气体泄漏点 */
    @Excel(name = "设备类型：储罐、装卸台、气体泄漏点")
    private String deviceType;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 最新数值 */
    @Excel(name = "最新数值")
    private BigDecimal latestValue;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 状态: 1在线 0离线 */
    @Excel(name = "状态: 1在线 0离线")
    private String runStatus;

    /** 监控方式：液位、温度、开关 */
    @Excel(name = "监控方式：液位、温度、开关")
    private String monitorMode;

    /** 死区 */
    @Excel(name = "死区")
    private String deadBand;

    /** 0-停用、1-投用、已搁置、已抑制、测试、待审批、审批中 */
    @Excel(name = "0-停用、1-投用、已搁置、已抑制、测试、待审批、审批中")
    private String status;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPointCode(String pointCode) 
    {
        this.pointCode = pointCode;
    }

    public String getPointCode() 
    {
        return pointCode;
    }

    public void setPointDesc(String pointDesc) 
    {
        this.pointDesc = pointDesc;
    }

    public String getPointDesc() 
    {
        return pointDesc;
    }

    public void setDeviceType(String deviceType) 
    {
        this.deviceType = deviceType;
    }

    public String getDeviceType() 
    {
        return deviceType;
    }

    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }

    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }

    public void setLatestValue(BigDecimal latestValue) 
    {
        this.latestValue = latestValue;
    }

    public BigDecimal getLatestValue() 
    {
        return latestValue;
    }

    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    public void setRunStatus(String runStatus) 
    {
        this.runStatus = runStatus;
    }

    public String getRunStatus() 
    {
        return runStatus;
    }

    public void setMonitorMode(String monitorMode) 
    {
        this.monitorMode = monitorMode;
    }

    public String getMonitorMode() 
    {
        return monitorMode;
    }

    public void setDeadBand(String deadBand) 
    {
        this.deadBand = deadBand;
    }

    public String getDeadBand() 
    {
        return deadBand;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pointCode", getPointCode())
            .append("pointDesc", getPointDesc())
            .append("deviceType", getDeviceType())
            .append("deviceId", getDeviceId())
            .append("deviceName", getDeviceName())
            .append("latestValue", getLatestValue())
            .append("unit", getUnit())
            .append("runStatus", getRunStatus())
            .append("monitorMode", getMonitorMode())
            .append("deadBand", getDeadBand())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
